package com.business;

import lombok.extern.slf4j.Slf4j;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

import javax.annotation.PostConstruct;

/**
 * 初始化 feign
 */
@Slf4j
@Configuration
@EnableFeignClients(basePackageClasses = CloudBusinessApiApplication.class)
@ComponentScan(basePackageClasses = CloudBusinessApiApplication.class)
public class CloudBusinessApiApplication {
    @PostConstruct
    public void init() {
        log.info("CloudBusinessApiApplication init...");
    }
}
